import requests


headers = {
    'Host':'m.micaitu.com',
    'Connection':'Keep-Alive',
    'Accept-Encoding':'gzip',
    'User-Agent':'okhttp/3.9.0',
    'If-Modified-Since':'Mon, 21 Jan 2019 10:15:32 GMT',
}

get_url = 'http://m.micaitu.com/index.html'

def load():
    res = requests.get(url = get_url, headers = headers)
    res.encoding = "utf-8"
    with open('micaitu.html','wb') as f:
        f.write(res.content)





def main():
    load()



if __name__ == "__main__":
    main()